package com.cff.service;

import org.springframework.stereotype.Service;

@Service("handlerService")
public class HandlerServiceImp implements HandlerService{
	HandlerServiceImp(){
		System.out.println("HandlerServiceImp生成了");
	}
	public String test(){
		return "hello World";
	}

	@Override
	public void handle() {
		System.out.println("asdasda");
	}

	@Override
	public String handle(String msg) {
		System.out.println(msg);
		
		return msg.hashCode()+"";
	}
}
